import Vue from 'vue'
import VueRouter from 'vue-router'
// import HomeView from '../views/HomeView.vue'

import panpan from "./routers/panpan";
import binbing from "./routers/binbing";
import index from "./routers/index";
import runrun from "./routers/runrun";
Vue.use(VueRouter)

const routes = [
  ...panpan,
  ...index,
  ...binbing,
  ...runrun
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
